<?php


/**
 * @version $Id$
 * @package
 * @author Alexander Anokhin <ava@vaz.ru>
 */
class Kladr_Cities extends Kpl_Db_Table_Autocomplete
{
	protected $_name = 'city';
	protected $_primary = array('id_np','id_iso','id_dist','id_er');
	
	protected $_suggestFromPart = array('id_np', 'name');
	protected $_suggestLikePart = array('upper(name) like ?', 'id_np like ?'); 
	protected $_suggestWherePart = array('id_iso','id_er','id_dist');
	
}
